
//导入最大组件,以便加载其它组件内容
//导入自定义路由文件简写from './router'
//全局导入element-plus
import ElementPlus from 'element-plus'
import { createApp } from 'vue'
import { createRouter } from '@/router'
import 'element-plus/dist/index.css'
// 引入所有图标
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
/* swiper */
// import 'swiper/swiper.min.css'
/* 重置样式 */
import './assets/css/reset.min.css'
// import 'jquery'
import './assets/css/bootstrap.min.css'
import './assets/js/bootstrap.min.js'
/* animate.css */
import 'wow.js/css/libs/animate.css'

import App from './App.vue'

const router = createRouter()
const app = createApp(App)
// 注册所有图标组件
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
// 注册 Element Plus
app.use(ElementPlus);
app.use(router).mount('#app')

